<?php

/**
 * Created by Reliese Model.
 */

namespace App\Models;

use Illuminate\Database\Eloquent\Model as Eloquent;

/**
 * Class Money
 * 
 * @property int $id
 * @property int $hall_id
 * @property int $user_id
 * @property string $password
 * @property string $salt
 * @property int $balance
 * @property int $freeze_withdraw
 * @property int $status
 * @property \Carbon\Carbon $created_at
 * @property \Carbon\Carbon $updated_at
 *
 * @package App\Models
 */
class Money extends Eloquent
{
	protected $casts = [
		'hall_id' => 'int',
		'user_id' => 'int',
		'balance' => 'int',
		'freeze_withdraw' => 'int',
		'status' => 'int'
	];

	protected $hidden = [
		'password',
		'salt'
	];

	protected $fillable = [
		'hall_id',
		'user_id',
		'password',
		'salt',
		'balance',
		'freeze_withdraw',
		'status'
	];
}
